package com.scpii.universal.util;

import java.util.regex.Matcher;
import java.util.regex.Pattern;

public class HtmlUtil {
	public static String html2Text(String str) {

		Pattern pattern = Pattern.compile("<[.[^<]]*>|&\\w+;");
		Matcher matcher = pattern.matcher(str);
		str = matcher.replaceAll("");
		return str;
	}
}
